﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="Issue.aspx.cs" Inherits="Train_Issue" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <infolight:webdatasource id="Master" runat="server" autoapply="True" webdatasetid="WMaster"
        datamember="View_Issue">
    </infolight:webdatasource>
    <infolight:webnavigator id="WebNavigator1" runat="server" bindingobject="wgvMaster"
        statusstrip="WebStatusStrip1" width="100%" cssclass="NavigatorBar" ctlheight="25">
        <navstates>
                    <InfoLight:WebNavigatorStateItem StateText="Initial" />
                    <InfoLight:WebNavigatorStateItem StateText="Browsed" />
                    <InfoLight:WebNavigatorStateItem StateText="Inserting" />
                    <InfoLight:WebNavigatorStateItem StateText="Editing" />
                    <InfoLight:WebNavigatorStateItem StateText="Applying" />
                    <InfoLight:WebNavigatorStateItem StateText="Changing" />
                    <InfoLight:WebNavigatorStateItem StateText="Querying" />
                    <InfoLight:WebNavigatorStateItem StateText="Printing" />
                </navstates>
        <navcontrols>
                    <InfoLight:ControlItem ControlName="First" ControlText="掸" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/first.gif" MouseOverImageUrl="../image/uipics/first2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Previous" ControlText="掸" ControlType="Image"
                        ControlVisible="False" ImageUrl="../image/uipics/previous.gif" MouseOverImageUrl="../image/uipics/previous2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Next" ControlText="掸" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/next.gif" MouseOverImageUrl="../image/uipics/next2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Last" ControlText="ソ掸" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/last.gif" MouseOverImageUrl="../image/uipics/last2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Add" ControlText="穝糤" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/add.gif" MouseOverImageUrl="../image/uipics/add2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Apply" ControlText="郎" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/apply.gif" MouseOverImageUrl="../image/uipics/apply2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Abort" ControlText="斌" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/abort.gif" MouseOverImageUrl="../image/uipics/abort2.gif"
                        Size="25" />
                    <InfoLight:ControlItem ControlName="Query" ControlText="琩高" ControlType="Image" ControlVisible="True"
                        ImageUrl="../image/uipics/query_C.gif" MouseOverImageUrl="../image/uipics/query2_C.gif"
                        Size="48" disenableimageurl="../Image/UIPics/query3_C.gif"/>
                    <InfoLight:ControlItem ControlName="Print" ControlText="ゴ" ControlType="Image" ControlVisible="False"
                        ImageUrl="../image/uipics/print.gif" MouseOverImageUrl="../image/uipics/print2.gif"
                        Size="25" />
                </navcontrols>
        <queryfields>
                    <InfoLight:WebQueryField Caption="主题编号" Condition="=" DefaultValue="" FieldName="IssueId"
                        Mode="" />
                    <InfoLight:WebQueryField Caption="主题名称" Condition="%%" DefaultValue="" FieldName="IssueName"
                        Mode="" />
                    <InfoLight:WebQueryField Caption="课题名称" Condition="%%" DefaultValue="" FieldName="LessonName"
                        Mode="" />
                </queryfields>
    </infolight:webnavigator>
    <infolight:webgridview id="wgvMaster" runat="server" cellpadding="5" datasourceid="Master"
        forecolor="#333333" width="100%" aborticonurl="../Image/UIPics/Abort.gif" addiconurl="../Image/UIPics/Add.gif"
        applyiconurl="../Image/UIPics/Apply.gif" canceliconurl="../Image/UIPics/Cancel.gif"
        mouseoveraborticonurl="../Image/UIPics/Abort2.gif" mouseoveraddiconurl="../Image/UIPics/Add2.gif"
        mouseoverapplyiconurl="../Image/UIPics/Apply2.gif" mouseovercanceliconurl="../Image/UIPics/Cancel2.gif"
        mouseoverokiconurl="../Image/UIPics/OK2.gif" mouseoverqueryiconurl="../Image/UIPics/Query2.gif"
        okiconurl="../Image/UIPics/OK.gif" 
        queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False"
        backcolor="White" bordercolor="White" borderstyle="Groove" borderwidth="2px"
        createinnernavigator="False" pagesize="20">
        <pagersettings mode="NumericFirstLast" />
        <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
        <navcontrols>
                <InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/add2.gif"
                    ControlText="add" ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/ok2.gif"
                    ControlText="Insert" ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/cancel2.gif"
                    ControlText="cancel" ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif">
                </InfoLight:ControlItem>
            </navcontrols>
        <columns>
                <asp:TemplateField>
                    <itemtemplate><center>
【<a href='IssuePractice.aspx?issid=<%#Eval("IssueId") %>'>查看</a>】</center>
</itemtemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="IssueId" HeaderText="编号" SortExpression="IssueId" />
                <asp:BoundField DataField="IssueName" HeaderText="主题名称" SortExpression="IssueName" />
                <asp:BoundField DataField="LessonName" HeaderText="课题名称" SortExpression="LessonName" />
                <asp:BoundField DataField="TrainDate" HeaderText="培训日期" SortExpression="TrainDate" />
                <asp:BoundField DataField="TrainTech" HeaderText="培训讲师" SortExpression="TrainTech" />
                <asp:BoundField DataField="TrainICharge" HeaderText="合计费用" SortExpression="TrainICharge" />
            </columns>
        <rowstyle backcolor="#EFF3FB"></rowstyle>
        <editrowstyle backcolor="#2461BF"></editrowstyle>
        <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
        <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
        <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
        <addnewrowcontrols>
                <InfoLight:AddNewRowControlItem ControlID="Label1" ControlType="Label" FieldName="IssueId" />
                <InfoLight:AddNewRowControlItem ControlID="TextBox1" ControlType="TextBox" FieldName="LessonId" />
                <InfoLight:AddNewRowControlItem ControlID="TextBox20" ControlType="TextBox" FieldName="TrainTech" />
                <InfoLight:AddNewRowControlItem ControlID="WebDateTimePicker1" ControlType="DateTimePicker"
                    FieldName="TrainDate" />
            </addnewrowcontrols>
    </infolight:webgridview>
</asp:Content>
